package com.ruoyi.net.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-ISIS接口配置对象 element_isis_port
 * 
 * @author net
 * @date 2024-11-17
 */
public class ElementIsisPort extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 网元id */
    @Excel(name = "网元id")
    private String elementId;

    /** 网元 */
    @Excel(name = "网元")
    private String elementName;

    /** 接口名 */
    @Excel(name = "接口名")
    private String portName;

    /** IS-IS进程ID */
    @Excel(name = "IS-IS进程ID")
    private String isis;

    /** IS-IS等级 */
    @Excel(name = "IS-IS等级")
    private String isisLevel;

    /** 网络类型 */
    @Excel(name = "网络类型")
    private String netType;

    /** HELLO定时器 */
    @Excel(name = "HELLO定时器")
    private String helloTimer;

    /** LSP重传间隔（秒） */
    @Excel(name = "LSP重传间隔", readConverterExp = "秒=")
    private String lspInterval;

    /** TI-LFA使能 */
    @Excel(name = "TI-LFA使能")
    private String tilfaEnable;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setElementName(String elementName) 
    {
        this.elementName = elementName;
    }

    public String getElementName() 
    {
        return elementName;
    }
    public void setPortName(String portName) 
    {
        this.portName = portName;
    }

    public String getPortName() 
    {
        return portName;
    }
    public void setIsis(String isis) 
    {
        this.isis = isis;
    }

    public String getIsis() 
    {
        return isis;
    }
    public void setIsisLevel(String isisLevel) 
    {
        this.isisLevel = isisLevel;
    }

    public String getIsisLevel() 
    {
        return isisLevel;
    }
    public void setNetType(String netType) 
    {
        this.netType = netType;
    }

    public String getNetType() 
    {
        return netType;
    }
    public void setHelloTimer(String helloTimer) 
    {
        this.helloTimer = helloTimer;
    }

    public String getHelloTimer() 
    {
        return helloTimer;
    }
    public void setLspInterval(String lspInterval) 
    {
        this.lspInterval = lspInterval;
    }

    public String getLspInterval() 
    {
        return lspInterval;
    }
    public void setTilfaEnable(String tilfaEnable) 
    {
        this.tilfaEnable = tilfaEnable;
    }

    public String getTilfaEnable() 
    {
        return tilfaEnable;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("elementId", getElementId())
            .append("elementName", getElementName())
            .append("portName", getPortName())
            .append("isis", getIsis())
            .append("isisLevel", getIsisLevel())
            .append("netType", getNetType())
            .append("helloTimer", getHelloTimer())
            .append("lspInterval", getLspInterval())
            .append("tilfaEnable", getTilfaEnable())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
